package com.jin.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jin.common.utils.PageUtils;
import com.jin.gulimall.product.entity.AttrEntity;
import com.jin.gulimall.product.vo.AttrRelationVO;
import com.jin.gulimall.product.vo.AttrRespVo;
import com.jin.gulimall.product.vo.AttrVO;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author shenjin
 * @email shenjin@gmail.com
 * @date 2021-02-23 10:34:06
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVO attr);

    PageUtils queryBasePage(Map<String, Object> params, Long catelogId, String attrType);

    AttrRespVo getAtrrInfo(Long attrId);

    void updateAttrVo(AttrVO attr);

    List<AttrEntity> getAttrGroup(Long attrgroupId);

    PageUtils getNoAttrGroup(Map<String, Object> params, Long attrgroupId);


    List<Long> selectAttrByIds(List<Long> attrIds);

    void updateTest();

}




